#include"List.h"

void Test()
{
	ListNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPushBack(plist, 5);
	LTPushFront(plist, 99);
	LTPrint(plist);

	//LTPopFront(plist);
	//LTPopFront(plist);
	//LTPopBack(plist);
	//LTPopBack(plist);
	//LTPopBack(plist);
	LTInsert(LTFind(plist,3), 88);
	LTPrint(plist);

	LTDestroy(plist);
	plist = NULL;
}
int main()
{
	Test();
	return 0;
}